package dfbz.homework2;

public class Test {
    public static void main(String[] args) {
        Dog dog=new Dog("旺财","黄色",22.2);
        dog.eat();
        dog.lookHome();
        System.out.println("----------------");
        cat c=new cat("波斯","黄色",22.2);
        c.eat();
        c.catchMouse();
    }
}
